class StringUtils {
  //获取字符串的首字母
  static getInitialText(String? text) {
    if (text == null || text.isEmpty) {
      return "";
    }
    List<int> codeUnitList = text.codeUnits;
    return String.fromCharCode(codeUnitList.first);
  }
}
